//
//  TopicModel.m
//  fmdb_demo
//
//  Created by rujia chen on 15/10/18.
//  Copyright (c) 2015年 dfrz. All rights reserved.
//

#import "TopicModel.h"

@implementation TopicModel

+ (NSArray *)listWithArray:(NSArray *)array{
    NSMutableArray *result = [[NSMutableArray alloc]init];
    for (NSDictionary *dict in array) {
        TopicModel *model = [[TopicModel alloc]initWithDictionary:dict];
        [result addObject:model];
    }
    return result;
}

@end
